package cn.cxq.learning.impl;

public enum SeasonTheta implements Show{
    SPRING("春天", "万物复苏"){
        @Override
        public void show() {
            System.out.println("花开了");
        }
    },
    SUMMER("夏天", "枝叶繁茂"){
        @Override
        public void show() {
            System.out.println("叶绿了");
        }
    },
    AUTUMN("秋天", "秋风飒爽"){
        @Override
        public void show() {
            System.out.println("叶落了");
        }
    },
    WINTER("冬天", "寒风凌冽"){
        @Override
        public void show() {
            System.out.println("雪来了");
        }
    };

    private final String seasonName;
    private final String seasonDesc;

    SeasonTheta(String seasonName, String seasonDesc) {
        this.seasonName = seasonName;
        this.seasonDesc = seasonDesc;
    }


    public String getSeasonName() {
        return seasonName;
    }

    public String getSeasonDesc() {
        return seasonDesc;
    }
}
